import Vue from "vue";
import Vuex from "vuex";

import user from "./modules/user";
import shopcart from "./modules/shopcart";

Vue.use(Vuex);

export default new Vuex.Store({
  // state: {},
  // getters: {},
  // actions: {},
  // mutations: {},
  // 汇总模块
  modules: {
    user,
    shopcart,
  },
});
